package com.yanqu.road.server.manager.log;

import com.yanqu.road.server.manager.activity.celebration.CelebrationLogMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @Description
 * @Author cwq
 * @Data 2021/7/1 15:19
 */
public class LogSaveTask extends GeneralTask {

    private static Logger logger = LogManager.getLogger(LogSaveTask.class.getName());

    public void doRun() {

        try{
            CelebrationLogMgr.saveLog();
        }catch (Exception e){
            logger.error(e);
        }

    }
}
